package com.qianhai.news.model;

import java.util.ArrayList;
import java.util.List;

public class ArticletypeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ArticletypeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andArticletypeUuidIsNull() {
            addCriterion("articletype_uuid is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidIsNotNull() {
            addCriterion("articletype_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidEqualTo(String value) {
            addCriterion("articletype_uuid =", value, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidNotEqualTo(String value) {
            addCriterion("articletype_uuid <>", value, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidGreaterThan(String value) {
            addCriterion("articletype_uuid >", value, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidGreaterThanOrEqualTo(String value) {
            addCriterion("articletype_uuid >=", value, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidLessThan(String value) {
            addCriterion("articletype_uuid <", value, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidLessThanOrEqualTo(String value) {
            addCriterion("articletype_uuid <=", value, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidLike(String value) {
            addCriterion("articletype_uuid like", value, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidNotLike(String value) {
            addCriterion("articletype_uuid not like", value, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidIn(List<String> values) {
            addCriterion("articletype_uuid in", values, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidNotIn(List<String> values) {
            addCriterion("articletype_uuid not in", values, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidBetween(String value1, String value2) {
            addCriterion("articletype_uuid between", value1, value2, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeUuidNotBetween(String value1, String value2) {
            addCriterion("articletype_uuid not between", value1, value2, "articletypeUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidIsNull() {
            addCriterion("user_uuid is null");
            return (Criteria) this;
        }

        public Criteria andUserUuidIsNotNull() {
            addCriterion("user_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUserUuidEqualTo(String value) {
            addCriterion("user_uuid =", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidNotEqualTo(String value) {
            addCriterion("user_uuid <>", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidGreaterThan(String value) {
            addCriterion("user_uuid >", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidGreaterThanOrEqualTo(String value) {
            addCriterion("user_uuid >=", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidLessThan(String value) {
            addCriterion("user_uuid <", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidLessThanOrEqualTo(String value) {
            addCriterion("user_uuid <=", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidLike(String value) {
            addCriterion("user_uuid like", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidNotLike(String value) {
            addCriterion("user_uuid not like", value, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidIn(List<String> values) {
            addCriterion("user_uuid in", values, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidNotIn(List<String> values) {
            addCriterion("user_uuid not in", values, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidBetween(String value1, String value2) {
            addCriterion("user_uuid between", value1, value2, "userUuid");
            return (Criteria) this;
        }

        public Criteria andUserUuidNotBetween(String value1, String value2) {
            addCriterion("user_uuid not between", value1, value2, "userUuid");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameIsNull() {
            addCriterion("articletype_name is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameIsNotNull() {
            addCriterion("articletype_name is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameEqualTo(String value) {
            addCriterion("articletype_name =", value, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameNotEqualTo(String value) {
            addCriterion("articletype_name <>", value, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameGreaterThan(String value) {
            addCriterion("articletype_name >", value, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("articletype_name >=", value, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameLessThan(String value) {
            addCriterion("articletype_name <", value, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameLessThanOrEqualTo(String value) {
            addCriterion("articletype_name <=", value, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameLike(String value) {
            addCriterion("articletype_name like", value, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameNotLike(String value) {
            addCriterion("articletype_name not like", value, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameIn(List<String> values) {
            addCriterion("articletype_name in", values, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameNotIn(List<String> values) {
            addCriterion("articletype_name not in", values, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameBetween(String value1, String value2) {
            addCriterion("articletype_name between", value1, value2, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeNameNotBetween(String value1, String value2) {
            addCriterion("articletype_name not between", value1, value2, "articletypeName");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateIsNull() {
            addCriterion("articletype_state is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateIsNotNull() {
            addCriterion("articletype_state is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateEqualTo(Integer value) {
            addCriterion("articletype_state =", value, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateNotEqualTo(Integer value) {
            addCriterion("articletype_state <>", value, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateGreaterThan(Integer value) {
            addCriterion("articletype_state >", value, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("articletype_state >=", value, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateLessThan(Integer value) {
            addCriterion("articletype_state <", value, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateLessThanOrEqualTo(Integer value) {
            addCriterion("articletype_state <=", value, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateIn(List<Integer> values) {
            addCriterion("articletype_state in", values, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateNotIn(List<Integer> values) {
            addCriterion("articletype_state not in", values, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateBetween(Integer value1, Integer value2) {
            addCriterion("articletype_state between", value1, value2, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeStateNotBetween(Integer value1, Integer value2) {
            addCriterion("articletype_state not between", value1, value2, "articletypeState");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeIsNull() {
            addCriterion("articletype_type is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeIsNotNull() {
            addCriterion("articletype_type is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeEqualTo(Integer value) {
            addCriterion("articletype_type =", value, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeNotEqualTo(Integer value) {
            addCriterion("articletype_type <>", value, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeGreaterThan(Integer value) {
            addCriterion("articletype_type >", value, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("articletype_type >=", value, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeLessThan(Integer value) {
            addCriterion("articletype_type <", value, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeLessThanOrEqualTo(Integer value) {
            addCriterion("articletype_type <=", value, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeIn(List<Integer> values) {
            addCriterion("articletype_type in", values, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeNotIn(List<Integer> values) {
            addCriterion("articletype_type not in", values, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeBetween(Integer value1, Integer value2) {
            addCriterion("articletype_type between", value1, value2, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("articletype_type not between", value1, value2, "articletypeType");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnIsNull() {
            addCriterion("articletype_typecn is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnIsNotNull() {
            addCriterion("articletype_typecn is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnEqualTo(String value) {
            addCriterion("articletype_typecn =", value, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnNotEqualTo(String value) {
            addCriterion("articletype_typecn <>", value, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnGreaterThan(String value) {
            addCriterion("articletype_typecn >", value, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnGreaterThanOrEqualTo(String value) {
            addCriterion("articletype_typecn >=", value, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnLessThan(String value) {
            addCriterion("articletype_typecn <", value, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnLessThanOrEqualTo(String value) {
            addCriterion("articletype_typecn <=", value, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnLike(String value) {
            addCriterion("articletype_typecn like", value, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnNotLike(String value) {
            addCriterion("articletype_typecn not like", value, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnIn(List<String> values) {
            addCriterion("articletype_typecn in", values, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnNotIn(List<String> values) {
            addCriterion("articletype_typecn not in", values, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnBetween(String value1, String value2) {
            addCriterion("articletype_typecn between", value1, value2, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeTypecnNotBetween(String value1, String value2) {
            addCriterion("articletype_typecn not between", value1, value2, "articletypeTypecn");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkIsNull() {
            addCriterion("articletype_remark is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkIsNotNull() {
            addCriterion("articletype_remark is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkEqualTo(String value) {
            addCriterion("articletype_remark =", value, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkNotEqualTo(String value) {
            addCriterion("articletype_remark <>", value, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkGreaterThan(String value) {
            addCriterion("articletype_remark >", value, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("articletype_remark >=", value, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkLessThan(String value) {
            addCriterion("articletype_remark <", value, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkLessThanOrEqualTo(String value) {
            addCriterion("articletype_remark <=", value, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkLike(String value) {
            addCriterion("articletype_remark like", value, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkNotLike(String value) {
            addCriterion("articletype_remark not like", value, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkIn(List<String> values) {
            addCriterion("articletype_remark in", values, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkNotIn(List<String> values) {
            addCriterion("articletype_remark not in", values, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkBetween(String value1, String value2) {
            addCriterion("articletype_remark between", value1, value2, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeRemarkNotBetween(String value1, String value2) {
            addCriterion("articletype_remark not between", value1, value2, "articletypeRemark");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeIsNull() {
            addCriterion("articletype_createTime is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeIsNotNull() {
            addCriterion("articletype_createTime is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeEqualTo(String value) {
            addCriterion("articletype_createTime =", value, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeNotEqualTo(String value) {
            addCriterion("articletype_createTime <>", value, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeGreaterThan(String value) {
            addCriterion("articletype_createTime >", value, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeGreaterThanOrEqualTo(String value) {
            addCriterion("articletype_createTime >=", value, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeLessThan(String value) {
            addCriterion("articletype_createTime <", value, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeLessThanOrEqualTo(String value) {
            addCriterion("articletype_createTime <=", value, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeLike(String value) {
            addCriterion("articletype_createTime like", value, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeNotLike(String value) {
            addCriterion("articletype_createTime not like", value, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeIn(List<String> values) {
            addCriterion("articletype_createTime in", values, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeNotIn(List<String> values) {
            addCriterion("articletype_createTime not in", values, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeBetween(String value1, String value2) {
            addCriterion("articletype_createTime between", value1, value2, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeCreatetimeNotBetween(String value1, String value2) {
            addCriterion("articletype_createTime not between", value1, value2, "articletypeCreatetime");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageIsNull() {
            addCriterion("articletype_language is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageIsNotNull() {
            addCriterion("articletype_language is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageEqualTo(String value) {
            addCriterion("articletype_language =", value, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageNotEqualTo(String value) {
            addCriterion("articletype_language <>", value, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageGreaterThan(String value) {
            addCriterion("articletype_language >", value, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageGreaterThanOrEqualTo(String value) {
            addCriterion("articletype_language >=", value, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageLessThan(String value) {
            addCriterion("articletype_language <", value, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageLessThanOrEqualTo(String value) {
            addCriterion("articletype_language <=", value, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageLike(String value) {
            addCriterion("articletype_language like", value, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageNotLike(String value) {
            addCriterion("articletype_language not like", value, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageIn(List<String> values) {
            addCriterion("articletype_language in", values, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageNotIn(List<String> values) {
            addCriterion("articletype_language not in", values, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageBetween(String value1, String value2) {
            addCriterion("articletype_language between", value1, value2, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeLanguageNotBetween(String value1, String value2) {
            addCriterion("articletype_language not between", value1, value2, "articletypeLanguage");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridIsNull() {
            addCriterion("articletype_fatherid is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridIsNotNull() {
            addCriterion("articletype_fatherid is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridEqualTo(String value) {
            addCriterion("articletype_fatherid =", value, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridNotEqualTo(String value) {
            addCriterion("articletype_fatherid <>", value, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridGreaterThan(String value) {
            addCriterion("articletype_fatherid >", value, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridGreaterThanOrEqualTo(String value) {
            addCriterion("articletype_fatherid >=", value, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridLessThan(String value) {
            addCriterion("articletype_fatherid <", value, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridLessThanOrEqualTo(String value) {
            addCriterion("articletype_fatherid <=", value, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridLike(String value) {
            addCriterion("articletype_fatherid like", value, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridNotLike(String value) {
            addCriterion("articletype_fatherid not like", value, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridIn(List<String> values) {
            addCriterion("articletype_fatherid in", values, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridNotIn(List<String> values) {
            addCriterion("articletype_fatherid not in", values, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridBetween(String value1, String value2) {
            addCriterion("articletype_fatherid between", value1, value2, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeFatheridNotBetween(String value1, String value2) {
            addCriterion("articletype_fatherid not between", value1, value2, "articletypeFatherid");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeIsNull() {
            addCriterion("articletype_code is null");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeIsNotNull() {
            addCriterion("articletype_code is not null");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeEqualTo(String value) {
            addCriterion("articletype_code =", value, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeNotEqualTo(String value) {
            addCriterion("articletype_code <>", value, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeGreaterThan(String value) {
            addCriterion("articletype_code >", value, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("articletype_code >=", value, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeLessThan(String value) {
            addCriterion("articletype_code <", value, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeLessThanOrEqualTo(String value) {
            addCriterion("articletype_code <=", value, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeLike(String value) {
            addCriterion("articletype_code like", value, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeNotLike(String value) {
            addCriterion("articletype_code not like", value, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeIn(List<String> values) {
            addCriterion("articletype_code in", values, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeNotIn(List<String> values) {
            addCriterion("articletype_code not in", values, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeBetween(String value1, String value2) {
            addCriterion("articletype_code between", value1, value2, "articletypeCode");
            return (Criteria) this;
        }

        public Criteria andArticletypeCodeNotBetween(String value1, String value2) {
            addCriterion("articletype_code not between", value1, value2, "articletypeCode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}